[HVM] Pass all non-RAM memory accesses to handle_mmio().
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Fri, 20 Oct 2006 08:30:23 +0000 (09:30 +0100)
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Fri, 20 Oct 2006 08:30:23 +0000 (09:30 +0100)
It is up to handle_mmio() to correctly handle accesses outside
valid device mmio regions.

Signed-off-by: Keir Fraser <keir@xensource.com>
xen/arch/x86/mm/shadow/multi.c

index 142d109037128ecefbe95f609d012e5dd069b67b..f6b89a6ec3fff074877d7053ef93ccab5e5a0c09 100644 (file)
@@ -2865,15 +2865,6 @@ static int sh_page_fault(struct vcpu *v,
 
  mmio:
     perfc_incrc(shadow_fault_mmio);
-    if ( !hvm_apic_support(d) && (gpa >= 0xFEC00000) )
-    {
-        /* Need to deal with these disabled-APIC accesses, as
-         * handle_mmio() apparently does not currently do that. */
-        /* TJD: What about it, then?   For now, I'm turning this BUG() 
-         * into a domain_crash() since we don't want to kill Xen. */
-        SHADOW_ERROR("disabled-APIC access: not supported\n.");
-        domain_crash(d); 
-    }
     sh_audit_gw(v, &gw);
     unmap_walk(v, &gw);
     SHADOW_PRINTK("mmio\n");